package com.qsmx.store.app.main.goods.holder;

import android.support.annotation.NonNull;
import android.support.constraint.ConstraintLayout;
import android.support.v7.widget.AppCompatImageView;
import android.support.v7.widget.AppCompatTextView;
import android.support.v7.widget.RecyclerView;
import android.view.View;

import com.qsmx.store.app.R;

public class GoodsListHolder extends RecyclerView.ViewHolder {

    public ConstraintLayout clContent;
    public AppCompatImageView ivImg;
    public AppCompatTextView tvGoodsName;
    public AppCompatTextView tvMoney;
    public AppCompatTextView tvInventory;
    public AppCompatTextView tvSku;

    public GoodsListHolder(@NonNull View itemView) {
        super(itemView);

        clContent = itemView.findViewById(R.id.cl_content);
        ivImg = itemView.findViewById(R.id.iv_img);
        tvGoodsName = itemView.findViewById(R.id.tv_goods_name);
        tvMoney = itemView.findViewById(R.id.tv_money);
        tvInventory = itemView.findViewById(R.id.tv_inventory);
        tvSku = itemView.findViewById(R.id.tv_sku);

    }
}
